package org.manon.json.asm;

import org.objectweb.asm.ClassWriter;

/**
 * @author <a href="mailto:jacques.militello@gmail.com">Jacques Militello</a>
 */
final class ASMContextDeSerializerInner implements ASMContext{

	private final ClassWriter _classWriter;
	private final String _className;
	private final ASMContextDeSerializer _parentContext;
	
	public ASMContextDeSerializerInner(ClassWriter classWriter,String className,ASMContextDeSerializer parentContext) {
		_classWriter = classWriter;
		_className = className;
		_parentContext = parentContext;
	}
	
	public String getClassName() {
		return _className;
	}
	public ClassWriter getClassWriter() {
		return _classWriter;
	}
	public ASMContextDeSerializer getContext() {
		return _parentContext;
	}
	
}